#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main()
{
    int arr[10];
    int p = 0;
    int n = 0;
    for (int i = 0; i < 10; i++)
    {
        scanf("%d", &arr[i]);
    }
    for (int j = 0; j < 10; j++)
    {
        if (arr[j] > 0)
        {
            p++;
        }
        else if (arr[j] < 0)
        {
            n++;
        }
    }
    printf("positive:%d\n", p);
    printf("negative:%d\n", n);
    return 0;
}